overlay: add left/right/top/bottom style classes to overlay children
authorCosimo Cecchi <cosimoc@gnome.org>
Fri, 3 Feb 2012 20:33:30 +0000 (15:33 -0500)
committerCosimo Cecchi <cosimoc@gnome.org>
Wed, 29 Feb 2012 17:28:24 +0000 (12:28 -0500)
commitd1aa797be306d27c91df8ea3b20c2b3eb773df61
tree5fe92997e34d8646947ae87c2c4e91dad6c59009
parent170e8712e9bfe792da29d6a3d1fb7a71fbe17336
overlay: add left/right/top/bottom style classes to overlay children

When we're allocating children of GtkOverlay, compare their allocation
with the overlay one, and set left/right/top/bottom style classes if the
overlaid widget touches one or more of the overlay edges.

https://bugzilla.gnome.org/show_bug.cgi?id=669342
gtk/gtkoverlay.c